package com.mask.jvm.classloader;

/**
 * @author hx
 * @since 2021/11/25 6:33 下午
 */

public class T001_ClassLoadingProcedure {
    public static void main(String[] args) {
        System.out.println(T.count);
        //1. T.count的时候将class load到内存
    }
}

class T {
    public static T t = new T();
    public static int count = 2;

    private T() {
        count++;
    }
}
